﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Management.Automation;

namespace Obra.PowerShell.SmugMug
{
    /// <summary>
    /// Parameters used when contructing a new SmugMug drive.
    /// </summary>
    internal class DynamicParameters
    {
        public DynamicParameters()
        {
            //this.Cache = true;
            //this.ContentSize = ContentSize.MEDIUM;
        }

        /// <summary>
        /// Cache responses from SmugMug.
        /// </summary>
        /// <remarks>
        /// <para>
        /// Album and image listings are cached, but the number of retrieved 
        /// images is capped.
        /// </para>
        /// </remarks>
        //[Parameter]
        //public bool Cache
        //{
        //    get;
        //    set;
        //}

        /// <summary>
        /// Size of the image to download when fetching image content data.
        /// </summary>
        /// <remarks>
        /// <para>
        /// Valid choices are tiny, thumb, small, medium, large, x-large, 
        /// x2-large, and x3-large.
        /// </para>
        /// </remarks>
        //[Parameter]
        //public ContentSize ContentSize
        //{
        //    get;
        //    set;
        //}

        /// <summary>
        /// Uri to connect to, defaults to smugmug.com
        /// </summary>
        /// <remarks>
        /// <para>
        /// This value is intended for testing, but maybe there are other uses.
        /// </para>
        /// </remarks>
        [Parameter]
        public string Uri
        {
            get;
            set;
        }
    }
}
